import { createRouter, createWebHashHistory } from 'vue-router'


const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: "/",
      name: "layout",
      component: () => import("@/views/layout/Layout.vue"),
      redirect:"/home",
      children: [
        {
          path: "/home",
          name: "home",
          component: () => import("@/views/layout/Home.vue"),
        },
      ],
    },
  ],
});

export default router
